package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_patrons_stage", desc = "门客精进", autoSave = true, uploadCk = true)
public class LogPatronsStage extends ServerBaseLog {

	@FieldTypeAnnotation(desc = "用户id", isIndex = true)
	private long userId;
	@FieldTypeAnnotation(desc = "门客id")
	private int patronsId;
	@FieldTypeAnnotation(desc = "旧等级")
	private int oldLv;
	@FieldTypeAnnotation(desc = "新等级")
	private int stageLv;
	@FieldTypeAnnotation(desc = "消耗")
	private String consume;

	public LogPatronsStage(long userId, int patronsId, int oldLv, int stageLv, String consume) {
		this.userId = userId;
		this.patronsId = patronsId;
		this.oldLv = oldLv;
		this.stageLv = stageLv;
		this.consume = consume;
	}

	public long getUserId() {
		return userId;
	}
}
